package easyexcel.mapper;

import easyexcel.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import java.util.List;

/**
 * @description:
 * @author: jichao
 * @date: 2021/4/23 14:08
 */
@Mapper
@Component
public interface UserMapper {
    List<User> findUsers(String name);
    void insertUsers(List<User> userList);
    @Select("select * from user")
    List<User> findUsersAnother();
}
